-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit testy #7
Unit testy #7
Conversation
Tags on features are indented at 0. Other tags are indented at the same level as Scenario headers (one shiftwidth). This matches all the examples I have read. Comments above a feature are indented at 0. Comments after a blank line are indented at the same level as Scenario headers (one shiftwidth). All other comments preserve the indent of the line before them.
Tags on features are indented at 0. Other tags are indented at the same level as Scenario headers (one shiftwidth). This matches all the examples I have read. Comments above a feature are indented at 0. Comments after a blank line are indented at the same level as Scenario headers (one shiftwidth). All other comments preserve the indent of the line before them.
…ded tables example.
I can't get the specs to run.
Perhaps I need an older RSpec? |
I'll look into it. |
So it was using RSpec 1.3 for some reason. Now it is on the latest stable RSpec. It requires gvim and pbcopy commands, currently, but perhaps it can be rejigged to eliminate some dependencies. mvim works just as well, if you symlink it or update the spec file. Running them once sometimes fails but subsequent runs seem more deterministic. It is a Good Enough (TM) set up to test what I wanted to test. |
Okay. Unit tests that use vim server and pass all my criteria. In fact I ran them with :bufdo on my entire repository of feature files at work and I'm happy with the results. Add more example feature files in the spec directory if you like. They could be more fine grained tests but they've sufficed.